/* 
 * File:   ImageSaver.h
 * Author: Guilherme Monteiro
 *
 */

#ifndef IMAGESAVER_H
#define	IMAGESAVER_H
#include <cv.h>
#include <highgui.h>

using namespace std;

/**
 * Class that represents a saver
 * of images.
 * 
 * @param img: image that will be save
 * @param path: path which the image will be save
 */
class ImageSaver {
public:
    ImageSaver(IplImage* img, string path);
    ImageSaver(const ImageSaver& orig);
    virtual ~ImageSaver();
    void save();
private:
    IplImage* image;
    string path;
};

#endif	/* IMAGESAVER_H */

